package com.yuyou.tas.lesson.service;


import com.yuyou.tas.service.api.lesson.dto.DtoBaseSSR;
import com.yuyou.tas.service.api.lesson.entity.BaseSectionSubjectRel;
import com.yuyou.tas.util.bean.LoginRedisObj;
import com.yuyou.tas.util.bean.Pagination;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

import java.util.List;

public interface IBaseSSRService {


    ResBoolSimpleInfo addSSR(Long subjectID, String[] gradeIds, Integer isTan,  LoginRedisObj user,Long organId);
    ResBoolSimpleInfo updateSSR(Long subjectID, String[] gradeIds, Integer isTan, Long id);
    ResBoolSimpleInfo delSSR(Long id);
    ResBoolSimpleInfo<BaseSectionSubjectRel> getSSRByID(Long id);

    int findSSRCount(Pagination<DtoBaseSSR> queryPgn);
    List<DtoBaseSSR> findSSRPageList(Pagination<DtoBaseSSR> queryPgn);

    BaseSectionSubjectRel selectByPKandOrgan(Long id, Long authOrganizationId);
}